/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
    path: '/qzdata',
    component: Layout,
    redirect: '/qzdata/index',
    name: 'Charts',
    meta: {
        title: '群组管理',
        icon: 'chart'
    },
    children: [
        {
            path: '/qzdata/index',
            component: () => import('@/views/qzdata/index'),
            name: 'zyk',
            meta: {
                title: '群标签', icon: 'el-icon-s-marketing'
            }
        },
        {
            path: '/qzdata/qlist',
            component: () => import('@/views/qzdata/qlist'),
            name: 'drhy',
            meta: { title: '群组管理', icon: 'el-icon-s-grid' }
        },
        // {
        //     path: '/qzdata/qjblist',
        //     component: () => import('@/views/qzdata/qjblist'),
        //     name: 'drhy',
        //     meta: { title: '群聊剧本', icon: 'guide' }
        // }
        // ,
        // {
        //     path: '/qzdata/jrwlist',
        //     component: () => import('@/views/qzdata/jrwlist'),
        //     name: 'drhy',
        //     meta: { title: '剧本任务', icon: 'guide' }
        // },
        {
            path: '/qzdata/jqlist',
            component: () => import('@/views/qzdata/jqlist'),
            name: 'drhy',
            meta: { title: '批量建群', icon: 'el-icon-c-scale-to-original' }
        },
        {
            path: '/qzdata/imglist',
            component: () => import('@/views/qzdata/imglist'),
            name: 'drhy',
            meta: { title: '扫码进群', icon: 'el-icon-zoom-in' }
        }
    ]
}

export default chartsRouter
